package com.ly.cloud.remote.feign;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ly.cloud.remote.feign.fallback.DemoServiceFeignClientFallback;

/**
 * feign方式远程调用其他服务接口
 * @author FORDSEA
 * @date 2018年12月7日 下午5:11:20
 */
@FeignClient(name = "ly-zhxg-xtgl-svc", fallback = DemoServiceFeignClientFallback.class) 
public interface DemoServiceFeignClient  {
    
	/*
    @RequestMapping(value = "/user/{userId}", method = RequestMethod.GET)
    public WebResponse<UserDTO> get(@PathVariable("userId") String userId);
	
    
	@RequestMapping(value = "/zzbdCommon/commonSaveLinkTransactionStatus", method = RequestMethod.POST)
	public Map<String, Object> commonSaveLinkTransactionStatus(Map<String, Object> params);*/

}
  